/**
 * 角色管理
 */
const roleDao = require("../dao/roleDao");

module.exports = {
    findAll: async (params) => {
        let roleList = await roleDao.findAll(params);
        console.log('角色列表：',roleList)
        return roleList;
    },
    create: async (params) => {
        return await roleDao.create(params)
    },
    update: async (params) => {
        return await roleDao.update(params)
    },
    del: async (params) => {
        return await roleDao.del(params)
    }
}